package com.youlai.boot.gym.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.gym.model.entity.Equipments;
import com.youlai.boot.gym.model.form.EquipmentsForm;

/**
 * 器材对象转换器
 *
 * @author hxc
 * @since 2025-06-01 10:04
 */
@Mapper(componentModel = "spring")
public interface EquipmentsConverter{

    EquipmentsForm toForm(Equipments entity);

    Equipments toEntity(EquipmentsForm formData);
}